// xlang

using{
    Qt;
};

class MyApplication : QApplication {
	Dialog dialog;
    public bool create(){
        if (super.createQApplication()){
            dialog = new Dialog();
            if (dialog.create()){
				dialog.show();
                return true;
            }
        }
        return false;
    }
};

int main(String [] args){
	MyApplication app = new MyApplication();
    if (app.create()){
		app.run();
    }
	return 0;
}